package com.bobo.service.user;

import com.bobo.dto.Page;
import com.bobo.model.User;

/**
 * Created by bobo on 16-10-28.
 */
public interface IUserService {

    public Integer create(User user);

    public boolean upd(User user);

    public boolean updPwd(User user);

    public boolean del(Integer id);

    public User getUser(Integer id);

    public Page<User> getUsers(Integer current, Integer pageSize, Integer status);

    public User userCompare(String username,String password);

    public User updQuery(Integer id,String password);
}
